package XMLread;

import com.google.android.maps.GeoPoint;

public class Stairwell {
	String stairID;
	private int currentFloor;
	private GeoPoint geopoint;
	
	
	public Stairwell(String stairID, int currentFloor, double latit, double longit){
		this.setCurrentFloor(currentFloor);
		setGeopoint(latit, longit);
		this.stairID = stairID;
	}
		

	public GeoPoint getGeopoint() {
		return geopoint;
	}
	
	public String getStairID(){
		return stairID;
	}

	public void setGeopoint(double latitude, double longitude) {
		this.geopoint = new GeoPoint((int) (latitude * 1e6), (int) (longitude * 1e6));
	}

	public int getCurrentFloor() {
		return currentFloor;
	}

	public void setCurrentFloor(int currentFloor) {
		this.currentFloor = currentFloor;
	}
	
	
}
